<template>
	<view>
		<view class="pb100">
			<uv-swipe-action>
				<view class="mt10" v-for="(item,index) in 3" :key="index">
					<uv-swipe-action-item :options="options" @click="del(index)">
						<view class="plr15 ptb15 radius15 bgWhite">
							<view class="align-center justify-between">
								<view class="ft15 bold">今天休息，下周继续接诊</view>
								<view class="" v-if="index==0">
									<uv-tags text="最新" size="mini" bgColor="#56A949" borderColor="#56A949"></uv-tags>
								</view>
							</view>
							
							<view class="ft12 gray5 mt8">2023.12.21 20:22:53</view>
						</view>
					</uv-swipe-action-item>
				</view>
			</uv-swipe-action>
		</view>
		<view class="posFixed btm0 w100">
			<view class="ptb12 tc">
				<image :src="`${$domain.ossapi}/index/add.png`" style="width: 120upx;height: 120upx;" mode=""></image>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				options: [{
					text: '删除',
					icon: 'trash',
					iconSize: '20',
					style: {
						backgroundColor: '#E23535'
					}
				}]
			}
		},
		methods: {
			del(index){
				console.log(index)
			}
		}
	}
</script>

<style>

</style>
